Fix most of bug #16051 with redisplay loops when resizing tool-bar.
authorEli Zaretskii <eliz@gnu.org>
Mon, 23 Dec 2013 16:36:34 +0000 (18:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 23 Dec 2013 16:36:34 +0000 (18:36 +0200)
commitace917b883f1a751360dd317f68b9dae71f8fc4c
tree9abb6b52eb379a9c9b60116d5afe562701da2cff
parent28a675095f30df08b24c468dd411afc448ec2b77
Fix most of bug #16051 with redisplay loops when resizing tool-bar.

 src/xdisp.c (tool_bar_height): Use WINDOW_PIXEL_WIDTH to set up the
 iterator X limits, not FRAME_TOTAL_COLS, for consistency with what
 redisplay_tool_bar does.  Improve and fix commentary.
 (hscroll_window_tree): Don't assume w->cursor.vpos is within the
 limits of the glyph matrices.
src/ChangeLog
src/xdisp.c